package com.xmall.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmall.auth.entity.SysAdminRoleRelation;

/**
 * <p>
 * 后台用户和角色关系表 服务类
 * </p>
 *
 * @author liuzh
 * @since 2020-06-14
 */
public interface ISysAdminRoleRelationService extends IService<SysAdminRoleRelation> {
        boolean saveSysAdminRoleRelation(SysAdminRoleRelation sysAdminRoleRelation);

        boolean updateSysAdminRoleRelation(Long id, SysAdminRoleRelation sysAdminRoleRelation);

        boolean deleteSysAdminRoleRelation(Long id);

        SysAdminRoleRelation getSysAdminRoleRelation(Long id);
}
